package com.xuzhen.designPattern.mediator.one;

public class Renter extends House {

	public Renter(RentingMediator rentingMediator) {
		super(rentingMediator);
	}

	@Override
	public String GetMessage(String message) {
		return "租房者接收消息:"+message;
	}

	@Override
	public void sendMessage(String message) {
		rentingMediator.sendMessage(message, this);
	}

}
